//
//  FriendDetailViewController.h
//  FootPrint
//
//  Created by alex tao on 4/7/13.
//  Copyright (c) 2013 alex tao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "FriendParser.h"

@interface FriendDetailViewController : UIViewController<HandInviteDelegate, FriendDelegate, AddFriendDelegate> {
    
    UserMessage *           _user;
    FriendParser* _parser;
    BOOL _isAgree;
    
}

@property (retain, nonatomic) IBOutlet FPImageView *iconImage;
@property (retain, nonatomic) IBOutlet UILabel *accountLabel;
@property (retain, nonatomic) IBOutlet UILabel *sigLabel;
@property (retain, nonatomic) IBOutlet UILabel *backupLabel;

@property (retain, nonatomic) IBOutlet UIButton *activityBtn;

- (IBAction)back;
- (IBAction)activity;
@property (retain, nonatomic) IBOutlet UIButton *btnDegree;
@property (retain, nonatomic) IBOutlet UIButton *btnDisagree;
- (IBAction)actionAgree:(id)sender;
- (IBAction)actionDisagree:(id)sender;
@property (retain, nonatomic) IBOutlet UIButton *btnAddFriend;
@property (retain, nonatomic) NSArray *     allFriends;

- (IBAction)addFriend:(id)sender;
- (void)updateUserStatus:(UserMessage*)status;
- (void)doCheck;

@property BOOL isCheck;//是否需要判断此人是否为好友

@property (retain, nonatomic) NSDictionary * rawData;

@end
